package com.example.service;

import com.example.common.result.Result;
import com.example.entity.dto.FileUpload.FileListDto;
import com.example.entity.excel.SaleExcel;
import com.example.entity.mes.File;
import com.example.entity.pojo.MqunitPage;
import com.example.entity.yifei.Attach;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface FileService {


    void getExcels(MultipartFile[] files, HttpServletResponse response);

    List<Attach> fileList(FileListDto fileListDto);


    Result insert(File file);

    Result update(File file);

    Result delete(Long id);

    Result<Map<String, File>> queryPageList(MqunitPage mqunitPage);

    Result<File> queryById(Long id);

    Result<File> queryCodeSign(List<String> codes);
}
